body
{
	margin: 1em;
	font: 1em/1.5 sans-serif;
	background: #F7F4E9 url(../img/body.png) repeat-x top center;
	color: #333;
	cursor: default;
}

a
{
	text-decoration: none;
	color: #434A48;
	border-bottom: 0.1em solid #888;
}
a:hover
{
	border: 0;
}

#hd
{
	background: #313230;
	color: #FFF;
	position: relative;
}
#hd h1
{
	font-size: 1.8em;
	padding: 0.2em 0.3em;
	margin: 0;
	font-family: sans-serif;
	font-variant: small-caps;
	font-weight: normal;
}

#account
{
	position: absolute;
	top: 0;
	right: 0.5em;
}
#account a
{
	color: #FFF;
	border-color: #FFF;
}

#nav
{
	background: #434A48;
}

#menu
{
	margin: 0;
	padding: 0.5em;
	list-style: none;
}
#menu li
{
	display: inline;
	margin: 0 0.25em 0 0;
}
#menu a,
#menu span
{
	display: inline-block;
	padding: 0.25em 0.5em;
	border: 0;
	color: #FFF;
}
#menu .active
{
	background: #687370;
}
#menu a:hover
{
	background: #383E3C;
}
#menu a.active:hover
{
	background: #687370;
}

#bd
{
	margin: 0.5em 0;
	padding: 0.5em 0.5em 0.5em;
	border-top: 0.1em solid #FFF;
	background: #FFF url(../img/gradient.png) repeat-x 0 0;
}
#bd p,
#bd ol,
#bd ul
{
	margin: 0 0 0.5em 0;
}
#bd p + ul,
#bd p + ol
{
	margin-top: -0.5em;
}
#bd :last-child
{
	margin-bottom: 0;
}
#bd h1,
#bd h2,
#bd h3
{
	margin: 0 0 0.5em 0;
	padding: 0;
}
#bd h1
{
	font-size: 1.6em;
	font-weight: normal;
	border-bottom: 1px solid #DDD;
}
#bd h2
{
	font-size: 1.4em;
}
#bd h3
{
	font-size: 1.2em;
}
.breadcrumbs
{
	font-size: 0.7em;
	text-transform: uppercase;
}
.breadcrumbs a
{
	border-bottom: 0;
}
.options
{
  display: block;
  float: right;
  margin: -1em 0 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8em;
}
.options li
{
  display: inline;
  margin: 0;
  padding: 0;
}
#bd table
{
	border-collapse: collapse;
}
#bd th
{
	background: #434A48;
	color: #FFF;
	text-align: left;
	padding: 0.5em;
	line-height: 1;
}
th.actions
{
	width: 1%;
}
td.actions
{
	width: 1%;
	white-space: nowrap;
}
#bd tbody td
{
	border-bottom: 0.1em solid #DDD;
	padding: 0.5em;
	line-height: 1;
}
#bd tr:hover td
{
	border-color: #434A48;
}
#bd tfoot td
{
	text-align: left;
}
#bd tfoot .pager
{
	float: right;
}
.pager
{
	text-align: right;
	line-height: 1;
	padding: 0.5em 0.5em 0;
}
.pager a,
.pager span
{
	display: inline-block;
	padding: 0.25em 0.25em;
	margin-left: 0.25em;
	border: 0;
	color: #000;
}
.pager a:hover
{
	background: #383E3C;
	color: #FFF;
}
.pager span
{
	background: #687370;
	color: #FFF;
}
.pager span.page-first,
.pager span.page-prev,
.pager span.page-next,
.pager span.page-last
{
	background: transparent;
	color: gray;
}
.fields,
.horizontal,
.actions
{
	list-style: none;
	padding: 0;
	margin: 0;
}
.horizontal > li,
.actions > li
{
	display: inline-block;
	margin-right: 0.5em;
}
.horizontal > li
{
	vertical-align: top;
}
.actions > li
{
	vertical-align: middle;
}
.fields > li
{
	margin-bottom: 0.75em;
}
.fields > li:last-child
{
	margin: 0;
}
.fields label
{
	font-weight: bold;
	color: #333;
	display: block;
	padding-bottom: 0.2em;
	line-height: 1;
}
.fields input + label
{
	display: inline;
}
.fields kbd
{
	font: inherit;
	text-decoration: underline;
}
.form fieldset
{
	border: 0;
	padding: 0;
}
.fields input[type="text"],
.fields input[type="password"],
.fields textarea,
.fields select
{
	background: white url(../img/gradient.png) repeat-x 0px -28px;
	color: #333;
	border: 0.1em inset #DDD;
	padding: 0.2em;
	width: 20em;
	outline: none;
	font: 1em sans-serif;
}
.fields select
{
	width: auto;
}
.fields textarea
{
	height: 5em;
}
.fields input[type="submit"],
.fields input[type="reset"],
.fields input[type="button"],
.actions input[type="submit"],
.actions input[type="reset"],
.actions input[type="button"]
{
	padding: 0.2em 0.5em;
	background: #DDD;
	color: #333;
	border: 0.1em outset #DDD;
	font-variant: small-caps;
	font-size: 1em;
	cursor: pointer;
}
.fields input[type="submit"]:active,
.fields input[type="reset"]:active,
.fields input[type="button"]:active,
.actions input[type="submit"]:active,
.actions input[type="reset"]:active,
.actions input[type="button"]:active
{
	border-style: inset;
}
p.form-field-help
{
	margin: 0 0 0.25em 1em;
	font-size: 0.8em;
}
p.form-field-help:last-child
{
	margin-bottom: 0;
}
div.form-field-help
{
	margin: 0.25em 0 0 1em;
	font-size: 0.8em;
}
div.form-field-help > p
{
	margin-top: 0.25em;
	margin-bottom: 0;
}
.required
{
	cursor: help;
	color: red!important;
	font-size: inherit!important;
}
.actions, .actions li
{
  vertical-align: top;
}
.number
{
	width: 10em!important;
	text-align: right;
}
.date { width: 7.5em!important; }
.time { width: 5em!important; }
.errors
{
	list-style: none;
	padding: 0 0 0.2em 0.5em;
	margin: 0;
}
.errors li
{
	line-height: 1;
	margin-bottom: 0.5em;
	padding-left: 0.5em;
	border-left: 1em solid #D98078;
}
.fields .errors
{
	padding: 0.5em 0 0 0.5em;
	font-size: 0.9em;
}
.fields label span
{
	color: #888;
	font-weight: normal;
	font-size: small;
}

#ft
{
	text-align: center;
	padding: 0.5em;
	background: #FFF;
	font-size: 0.9em;
}
#ft p
{
	margin: 0 0 0.5em 0;
}
#ft p:last-child
{
	margin-bottom: 0;
}

#nav,
#menu a,
#menu span,
#ft,
.pager a,
.pager span,
#flash,
#flash p
{
	border-bottom-left-radius: 0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
}
#hd,
#menu a,
#menu span,
#ft,
.pager a,
.pager span,
#flash,
#flash p
{
	border-top-right-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
}
#bd,
.fields input,
.fields textarea,
.fields select,
.actions input,
#flash,
#flash p
{
	border-top-left-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
}

#flash
{
	margin-top: 0.5em;
	padding: 0.5em;
	background: #FFF;
}
#flash p
{
	padding: 0.25em;
	margin: 0;
	background: #FFF;
}
#flash.success
{
	background: #7ED376;
}
#flash.error
{
	background: #D98078;
}
#flash.warning
{
	background: #D9D978;
}
#bd dt
{
	font-weight: bold;
}

tr.empty td
{
	border-bottom-color: #FFF!important;
}

#halls
{
  list-style: square;
  padding-left: 1.5em;
}

#gallery
{
  padding: 0;
  margin: 0;
  list-style: none;
}
#gallery li
{
  display: inline-block;
  margin-right: 0.75em;
}
#gallery img
{
  border: 0.2em solid #DDD;
  cursor: pointer;
}
#gallery input
{
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 2em;
}
.zoomed,
.zoomed .ui-dialog-content
{
  padding: 0!important;
  background: transparent!important;
  border: 0!important;
}
.zoomed .ui-dialog-titlebar
{
  display: none;
}
.zoomed img
{
  border: 0.1em outset #000;
}
.ui-widget-overlay
{
  opacity: 0.5!important;
}

#hallsThumbs
{
	text-align: center;
	margin-top: 1em;
}
#hallFilters
{
	border: 0.1em outset #DDD;
	padding: 0.5em;
}
#hallFilters p
{
	display: inline;
}
#minCapacity
{
	margin-left: 1em;
	display: inline-block;
	width: 200px;
}
#hallFilters .ui-slider-handle
{
	width: 1.7em;
	text-align: center;
}
#hallFilters .ui-slider-handle span
{
	font-size: 0.8em;
	font-weight: normal;
	position: relative;
	top: -0.3em;
	text-align: center;
}

.hall
{
	display: inline-block;
	vertical-align: top;
	width: 200px;
	margin: 0 1em 1em 0;
}
.hall img
{
	width: 200px;
	height: 150px;
	border: 0.1em outset #DDD;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
}
.hall a
{
	border-bottom: none;
}
.hall em
{
	display: block;
	font-weight: bold;
	font-style: normal;
}
.hall p
{
	text-align: center;
	font-size: 0.6em;
	padding: 0 0.5em 0.5em 0.5em;
}
#reservations h2,
#reservations h3
{
	margin-bottom: 0;
}
#reservations h3
{
	margin-top: 0.5em
}
#reservations fieldset
{
	border: 0.1em outset #DDD;
	padding: 0.5em;
}
#reservations fieldset
{
	vertical-align: middle;
}
#reservations input[type="text"]
{
	width: 6em;
	text-align: center;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	padding: 0.25em;
	border-left: 0;
	border-right: 0;
}
#prevWeek,
#nextWeek
{
	padding: 0.2em 0.5em;
	background: #DDD;
	color: #333;
	border: 0.1em outset #DDD;
	font-variant: small-caps;
	font-size: 1em;
	line-height: 1em;
	padding: 0.25em;
}
#prevWeek
{
	border-top-left-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
	-webkit-border-top-left-radius: 0.5em;
	-webkit-border-bottom-left-radius: 0.5em;
	-moz-border-radius-topleft: 0.5em;
	-moz-border-radius-bottomleft: 0.5em;
}
#nextWeek
{
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
}
.reservation
{
	overflow: auto;
}
.reservation table
{
	white-space: nowrap;
	border-right: 0.1em solid #DDD;
}
.reservation th
{
	text-align: right!important;
	border-top: 0.1em solid #434A48;
	border-bottom: 0.1em solid #434A48;
}
.reservation td
{
	border-right: 0.1em solid #DDD;
}
.reservation tr:first-child td
{
	border-top: 0.1em solid #DDD;
	background: #DDD;
	text-align: center;
}
.reservation tr:last-child td
{
	text-align: center;
}
.reservation tr:last-child a
{
	border-bottom: 0;
	margin-right: 0.25em;
}
.reservation tr:last-child img
{
	border: 0;
}
.reservation tr:hover td
{
	border-color: #DDD!important;
}
#legend h2 { margin-bottom: 0.25em; }
#legend span { padding: 0.25em; margin-right: 0.25em; border: 0.1em inset #000; }
#legend span.off { border-style: outset; }
.status-new { background: #D9D978!important; border-color: #D9D978!important; }
.status-accepted { background: #7ED376!important; border-color: #7ED376!important; }
.status-rejected { background: #D98078!important; border-color: #D98078!important; }
.status-closed { background: #DDD!important; border-color: #DDD!important; }

#reservation-read .actions a { border-bottom: 0; }
#reservation-read .actions img { vertical-align: text-bottom; }
#overlapping
{
	float: right;
	width: 50%;
}
#overlapping dl { margin-top: 0.4em; }
#overlapping span { padding: 0 0.25em; }

fieldset
{
	border: 1px solid #DDD;
}
legend
{
	font-size: 1.6em;
}
#quickReservation { float: left; width: 23em; margin-right: 0.5em; }